home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Scenery Animator v1.01.adf / Install < prev    next >
Text File  |  1991-06-04  |  2KB  |  82 lines

  1. .
  2. c/path c reset
  3. echo "Scenery Animator Installation procedure"
  4. echo "This will install two libraries and a font"
  5. echo "into your boot environment."
  6.  
  7. echo "*n  LIBS:"
  8. echo "    arp.library (if not already present)"
  9. echo "    dctv.library (if not already present)"
  10.  
  11. echo "*n  FONTS:"
  12. echo "    SAnim.font"
  13.  
  14. echo "*nCaution:  This script assumes that you booted from your native boot"
  15. echo "environment, so that *"LIBS:*" and *"FONTS:*" refer to the location"
  16. echo "where you want these files installed.*n"
  17.  
  18. ask "OK to install files? (Y|N)"
  19. if not warn
  20.     skip Abort
  21. endif
  22.  
  23. echo "Setting up..."
  24.  
  25. makedir ram:_sa
  26. cd >nil:        ; makedir above might've caused a disk swap to occur, make sure install disk is in drive
  27.  
  28. makedir ram:_sa/c
  29. path ram:_sa/c c reset
  30. copy c/copy ram:_sa/c
  31. copy c/ask ram:_sa/c
  32. copy c/echo ram:_sa/c
  33. copy c/endif ram:_sa/c
  34. copy c/if ram:_sa/c
  35. copy c/lab ram:_sa/c
  36. copy c/makedir ram:_sa/c
  37. copy c/skip ram:_sa/c
  38.  
  39. makedir ram:_sa/libs
  40. copy libs/arp.library ram:_sa/libs clone
  41. copy libs/dctv.library ram:_sa/libs clone
  42.  
  43. makedir ram:_sa/fonts
  44. makedir ram:_sa/fonts/SAnim
  45. copy fonts/SAnim.font ram:_sa/fonts clone
  46. copy fonts/SAnim ram:_sa/fonts/SAnim clone quiet
  47.  
  48. if exists libs:arp.library
  49.     ask "libs:arp.library already exists.  Overwrite it? (Y|N)"
  50.     if not warn
  51.      skip CopyLib2
  52.     endif
  53. endif
  54. copy ram:_sa/libs/arp.library libs:
  55.  
  56. lab CopyLib2
  57. if exists libs:dctv.library
  58.     ask "libs:dctv.library already exists.  Overwrite it? (Y|N)"
  59.     if not warn
  60.      skip CopyFont
  61.     endif
  62. endif
  63. copy ram:_sa/libs/dctv.library libs:
  64.  
  65. lab CopyFont
  66. copy ram:_sa/fonts fonts: all clone
  67.  
  68. echo "Cleaning up..."
  69. cd >nil:        ; get distribution diskette back online
  70. path c reset
  71. delete ram:_sa all quiet
  72.  
  73. echo "*nInstallation complete."
  74. skip Done
  75.  
  76. ; abort handler
  77. lab Abort
  78. echo "*nInstallation cancelled."
  79.  
  80. ; end
  81. lab Done
  82.